package org.ethereum.net.eth.message;

/**
 * Wrapper around an Ethereum Transactions message on the network
 *
 * @see EthMessageCodes#TRANSACTIONS
 */
public class GetKPIReportMessage extends EthMessage {

    public GetKPIReportMessage(byte[] encoded) {
        super(encoded);
    }

    public GetKPIReportMessage(boolean flag) {
        parsed = true;
    }

    @Override
    public byte[] getEncoded() {
        return new byte[] {1};
    }

    @Override
    public EthMessageCodes getCommand() {
        return EthMessageCodes.GET_KPIREPORT;
    }

    @Override
    public Class<?> getAnswerMessage() {
        return KPIReportMessage.class;
    }

	@Override
	public String toString() {
		return this.getClass().toGenericString();
	}

}